﻿namespace WMS6.Web.TransportMgtDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, DataContract(Name="DeliveryOrderAndDispatchDataInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class DeliveryOrderAndDispatchDataInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private string ACTUAL_EQUIPMENTField;
        [OptionalField]
        private string CUSTOMER_IDField;
        [OptionalField]
        private string DELIVERY_ORDER_IDField;
        [OptionalField]
        private string DELIVERY_ORDER_TYPEField;
        [OptionalField]
        private DateTime EXPECT_ARRIVAL_DATEField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private string EXTERN_ORDER_IDField;
        [OptionalField]
        private string LINE_IDField;
        [OptionalField]
        private decimal LOADING_QTYField;
        [OptionalField]
        private decimal ORIGINAL_QTYField;
        [OptionalField]
        private string OWNER_IDField;
        [OptionalField]
        private string PACK_IDField;
        [OptionalField]
        private DateTime REQUESTED_SHIP_DATEField;
        [OptionalField]
        private decimal ResQtyField;
        [OptionalField]
        private string SKU_IDField;
        [OptionalField]
        private string START_LOC_ADDRField;
        [OptionalField]
        private decimal TOTAL_CUBEField;
        [OptionalField]
        private decimal TOTAL_QTYField;
        [OptionalField]
        private decimal TOTAL_WEIGHTField;
        [OptionalField]
        private string TRANSFER_TYPEField;
        [OptionalField]
        private string UOM_IDField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public string ACTUAL_EQUIPMENT
        {
            get
            {
                return this.ACTUAL_EQUIPMENTField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ACTUAL_EQUIPMENTField, value))
                {
                    this.ACTUAL_EQUIPMENTField = value;
                    this.RaisePropertyChanged("ACTUAL_EQUIPMENT");
                }
            }
        }

        [DataMember]
        public string CUSTOMER_ID
        {
            get
            {
                return this.CUSTOMER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CUSTOMER_IDField, value))
                {
                    this.CUSTOMER_IDField = value;
                    this.RaisePropertyChanged("CUSTOMER_ID");
                }
            }
        }

        [DataMember]
        public string DELIVERY_ORDER_ID
        {
            get
            {
                return this.DELIVERY_ORDER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DELIVERY_ORDER_IDField, value))
                {
                    this.DELIVERY_ORDER_IDField = value;
                    this.RaisePropertyChanged("DELIVERY_ORDER_ID");
                }
            }
        }

        [DataMember]
        public string DELIVERY_ORDER_TYPE
        {
            get
            {
                return this.DELIVERY_ORDER_TYPEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DELIVERY_ORDER_TYPEField, value))
                {
                    this.DELIVERY_ORDER_TYPEField = value;
                    this.RaisePropertyChanged("DELIVERY_ORDER_TYPE");
                }
            }
        }

        [DataMember]
        public DateTime EXPECT_ARRIVAL_DATE
        {
            get
            {
                return this.EXPECT_ARRIVAL_DATEField;
            }
            set
            {
                if (!this.EXPECT_ARRIVAL_DATEField.Equals(value))
                {
                    this.EXPECT_ARRIVAL_DATEField = value;
                    this.RaisePropertyChanged("EXPECT_ARRIVAL_DATE");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public string EXTERN_ORDER_ID
        {
            get
            {
                return this.EXTERN_ORDER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EXTERN_ORDER_IDField, value))
                {
                    this.EXTERN_ORDER_IDField = value;
                    this.RaisePropertyChanged("EXTERN_ORDER_ID");
                }
            }
        }

        [DataMember]
        public string LINE_ID
        {
            get
            {
                return this.LINE_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LINE_IDField, value))
                {
                    this.LINE_IDField = value;
                    this.RaisePropertyChanged("LINE_ID");
                }
            }
        }

        [DataMember]
        public decimal LOADING_QTY
        {
            get
            {
                return this.LOADING_QTYField;
            }
            set
            {
                if (!this.LOADING_QTYField.Equals(value))
                {
                    this.LOADING_QTYField = value;
                    this.RaisePropertyChanged("LOADING_QTY");
                }
            }
        }

        [DataMember]
        public decimal ORIGINAL_QTY
        {
            get
            {
                return this.ORIGINAL_QTYField;
            }
            set
            {
                if (!this.ORIGINAL_QTYField.Equals(value))
                {
                    this.ORIGINAL_QTYField = value;
                    this.RaisePropertyChanged("ORIGINAL_QTY");
                }
            }
        }

        [DataMember]
        public string OWNER_ID
        {
            get
            {
                return this.OWNER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OWNER_IDField, value))
                {
                    this.OWNER_IDField = value;
                    this.RaisePropertyChanged("OWNER_ID");
                }
            }
        }

        [DataMember]
        public string PACK_ID
        {
            get
            {
                return this.PACK_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PACK_IDField, value))
                {
                    this.PACK_IDField = value;
                    this.RaisePropertyChanged("PACK_ID");
                }
            }
        }

        [DataMember]
        public DateTime REQUESTED_SHIP_DATE
        {
            get
            {
                return this.REQUESTED_SHIP_DATEField;
            }
            set
            {
                if (!this.REQUESTED_SHIP_DATEField.Equals(value))
                {
                    this.REQUESTED_SHIP_DATEField = value;
                    this.RaisePropertyChanged("REQUESTED_SHIP_DATE");
                }
            }
        }

        [DataMember]
        public decimal ResQty
        {
            get
            {
                return this.ResQtyField;
            }
            set
            {
                if (!this.ResQtyField.Equals(value))
                {
                    this.ResQtyField = value;
                    this.RaisePropertyChanged("ResQty");
                }
            }
        }

        [DataMember]
        public string SKU_ID
        {
            get
            {
                return this.SKU_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_IDField, value))
                {
                    this.SKU_IDField = value;
                    this.RaisePropertyChanged("SKU_ID");
                }
            }
        }

        [DataMember]
        public string START_LOC_ADDR
        {
            get
            {
                return this.START_LOC_ADDRField;
            }
            set
            {
                if (!object.ReferenceEquals(this.START_LOC_ADDRField, value))
                {
                    this.START_LOC_ADDRField = value;
                    this.RaisePropertyChanged("START_LOC_ADDR");
                }
            }
        }

        [DataMember]
        public decimal TOTAL_CUBE
        {
            get
            {
                return this.TOTAL_CUBEField;
            }
            set
            {
                if (!this.TOTAL_CUBEField.Equals(value))
                {
                    this.TOTAL_CUBEField = value;
                    this.RaisePropertyChanged("TOTAL_CUBE");
                }
            }
        }

        [DataMember]
        public decimal TOTAL_QTY
        {
            get
            {
                return this.TOTAL_QTYField;
            }
            set
            {
                if (!this.TOTAL_QTYField.Equals(value))
                {
                    this.TOTAL_QTYField = value;
                    this.RaisePropertyChanged("TOTAL_QTY");
                }
            }
        }

        [DataMember]
        public decimal TOTAL_WEIGHT
        {
            get
            {
                return this.TOTAL_WEIGHTField;
            }
            set
            {
                if (!this.TOTAL_WEIGHTField.Equals(value))
                {
                    this.TOTAL_WEIGHTField = value;
                    this.RaisePropertyChanged("TOTAL_WEIGHT");
                }
            }
        }

        [DataMember]
        public string TRANSFER_TYPE
        {
            get
            {
                return this.TRANSFER_TYPEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TRANSFER_TYPEField, value))
                {
                    this.TRANSFER_TYPEField = value;
                    this.RaisePropertyChanged("TRANSFER_TYPE");
                }
            }
        }

        [DataMember]
        public string UOM_ID
        {
            get
            {
                return this.UOM_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UOM_IDField, value))
                {
                    this.UOM_IDField = value;
                    this.RaisePropertyChanged("UOM_ID");
                }
            }
        }
    }
}

